<?php slot('leftmenu') ?>
<div class="centerboxleft">
        <?php if ($nodes[0]['id']):?>
	<div class="lmenubox">
		<div class="lmenutop">
			<div class="lmenutopl">
				<img src="/enermaatik/img/leftmgreen.png" width="11" height="35" alt=""/>
			</div>
			<div class="lmenutopmain">
				<p class="lmenu"><?php echo $node->getTitle() ?> </p>
			</div>
			<div class="clear"></div>
		</div>
		<div class="lmenutopcontent">
			<div class="menucontent">
				<ul>
					<?php foreach($nodes as $node): ?>
					<li>
						<div class="llinkbox">
							<div class="punkt"></div>
							<div class="llink">
								<a href="<?php echo LinkGen::getInstance(LinkGen::STRUCTURE)->link($node->getId()); ?>"><?php echo $node->getTitle() ?></a>
							</div>
							<div class="clear"></div>
						</div>
					</li>
					<?php endforeach; ?>
				</ul>
				
			</div>
		</div>
		<div class="clear"></div>
		<div class="lmenubottom">
			<img src="/enermaatik/img/lmenubottom.png" width="232" height="8" alt=""/>
		</div>
	</div>
        <?php endif;?>
<script type="text/javascript">
$('.llink').mouseover(function(){
$(this).parent().addClass('active').find('.punkt').addClass('active');
$('.llink').mouseleave(function(){
$(this).parent().removeClass('active').find('.punkt').removeClass('active');
});
});

$('.sublink').mouseover(function(){
$(this).parent().find('.arrow').addClass('active');
$('.sublink').mouseleave(function(){
$(this).parent().find('.arrow').removeClass('active');
});
});
</script>
</div>
<?php end_slot() ?>